﻿using Caliburn.Micro;
using SD.Infrastructure.WPF.Caliburn.Aspects;
using System;

namespace SlamDunk.MES.Presentation.Models.NotifyModels
{
    /// <summary>
    /// 销售订单明细
    /// </summary>
    public class SaleOrderDetailNm : PropertyChangedBase
    {
        #region 产品Id —— Guid ProductId
        /// <summary>
        /// 产品Id
        /// </summary>
        public Guid ProductId { get; set; }
        #endregion

        #region 产品编号 —— string ProductNo
        /// <summary>
        /// 产品编号
        /// </summary>
        public string ProductNo { get; set; }
        #endregion

        #region 产品名称 —— string ProductName
        /// <summary>
        /// 产品名称
        /// </summary>
        public string ProductName { get; set; }
        #endregion

        #region 数量 —— decimal Quantity
        /// <summary>
        /// 数量
        /// </summary>
        [DependencyProperty]
        public decimal Quantity { get; set; }
        #endregion

        #region 单位 —— string Unit
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
        #endregion

        #region 生产批号 —— string ProductionBatchNo
        /// <summary>
        /// 生产批号
        /// </summary>
        public string ProductionBatchNo { get; set; }
        #endregion

        #region 描述 —— string Description
        /// <summary>
        /// 描述
        /// </summary>
        public string Description { get; set; }
        #endregion
    }
}
